package query_handler

import (
	"file-cleaner/internal/file_cleaner/file_info"
	"fmt"
	"time"
)

type mockQueryHandler struct {
}

func (m mockQueryHandler) doHandle(info *file_info.FileInfo) bool {
	fmt.Println("start to handle file:", info.Path())
	fmt.Println("parse file hash")
	time.Sleep(time.Millisecond)
	info.SetHash("aaaa")
	fmt.Println("success to set file hash: aaaa")
	return true
}
